import request from '@/utils/request'
import axios from 'axios';

let baseUrl = 'http://49.234.79.188:9090';
// let baseUrl = 'http://localhost:9090';

//typesetup api
export const getTypeSetup = params => {
    return axios({
        method: 'get',
        url: `${baseUrl}/typesetup/list?page=${params.page}&limit=${params.limit}`,
    })
};
// update TypeSetup
export const updateTypeSetup = params => {
    return axios({
        method: 'post',
        url: `${baseUrl}/typesetup/update`,
        data: params
    })
};


